package com.cskaoyan.mapper;

import com.cskaoyan.bean.MarketPermissionType;
import com.cskaoyan.bean.MarketPermissionTypeExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface MarketPermissionTypeMapper {
    long countByExample(MarketPermissionTypeExample example);

    int deleteByExample(MarketPermissionTypeExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(MarketPermissionType record);

    int insertSelective(MarketPermissionType record);

    List<MarketPermissionType> selectByExample(MarketPermissionTypeExample example);

    MarketPermissionType selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") MarketPermissionType record, @Param("example") MarketPermissionTypeExample example);

    int updateByExample(@Param("record") MarketPermissionType record, @Param("example") MarketPermissionTypeExample example);

    int updateByPrimaryKeySelective(MarketPermissionType record);

    int updateByPrimaryKey(MarketPermissionType record);
}